.chat {
    height: 100%;
    min-height: 150px;
    box-sizing: border-box;
    overflow: visible;
}

.item {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 12px;
    vertical-align: text-top;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    z-index: 1;
    zoom: 1;
}

.barrage-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.barrage-box {
    width: 100%;
    padding-bottom: 45px;
}

.c-chat .c-chat-tip {
    margin: 0 10px 10px;
    padding: 5px 10px;
    background-color: #eee;
    color: #333;
    line-height: 1.5;
    white-space: normal;
    font-size: 14px;
}

.c-chat .c-chat-tip span {
    color: #999;
}

.c-chat .dm-item {
    margin-bottom: 4px;
    padding: 0 10px;
    white-space: normal;
    line-height: 1.5;
    font-size: 14px;
    color: #666;
    word-wrap: break-word;
    word-break: break-all;
}

.c-chat .dm-item text {
    font-size: 14px;
    color: #000;
}

.c-chat .dm-item text.self {
    color: #f03;
}

.barrage-tip {
    width: 100%;
    text-align: center;
    display: none;
    position: absolute;
    bottom: 6em;
    font-size: 1.2em;
}

.c-operate {
    position: fixed;
    bottom: 0;
    height: 42px;
    width: 100%;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    border-top: 1px solid #eee;
    z-index: 10;
}
.c-operate .c-operate-sub {
    float: left;
}
.c-operate .c-operate-input-wrap {
    position: relative;
    width: 95%;
    height: 32px;
    margin: 5px 2.4% 0;
    background-color: #f7f7f7;
}

.c-operate .c-operate-input-wrap .c-operate-input {
    width: 265px;
    height: 100%;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    border: none;
    font-size: 12px;
    background: transparent;
}
.c-operate .c-operate-input-wrap .c-operate-input::-webkit-input-placeholder {
    color: #ddd;
}
.c-operate .c-operate-input-wrap .msgTip {
    position: absolute;
    left: 0;
    top: 0;
    padding-left: 10px;
    width: 100%;
    height: 100%;
    line-height: 32px;
    font-size: 14px;
    color: #f70;
}
.c-operate .c-operate-input-wrap .c-operate-sendBtn {
    display: none;
    position: absolute;
    top: 4.5px;
    right: 4.5px;
    width: 45px;
    height: 23px;
    line-height: 23px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    background-image: -webkit-gradient(linear, left top, right top, from(#ff4e00), color-stop(0, #ff8b00));

    background-image: linear-gradient(90deg, #ff4e00 0, #ff8b00);

    border-radius: 3px;
}
.c-operate .c-operate-input-wrap .c-operate-sendBtn.unvaild {
    background-color: #bcc3cf;
    background-image: none;
}
.c-operate .c-operate-iconCharge,
.c-operate .c-operate-iconGift {
    width: 32px;
    height: 32px;
    border-radius: 32px;
}
